package com.open.capacity.forum.constant;

/**
 * @Author moonholder
 * @Description 文章、资源字典数据类型
 * @Date 14:29 2021/3/2
 */
public interface MetasConstant {
    String ARTICLE_TYPE = "articel_type";
    String ARTICLE_STATE = "articel_state";
    String COMMENT_TYPE = "cotype";

    // 文章类型
    interface ArticleType {
        /* 原创 */
        String ORIGINAL = "original";
        /* 转载 */
        String REPRINTED = "reprinted";
        /* 翻译 */
        String TRANSLATE = "translate";
    }

    // 文章状态
    interface ArticleState {
        String DRAFT = "draft";
        String PUBLISH = "publish";
    }

    // 评论类型
    interface  CommentType {
        Integer ARTICLE = 1;
        Integer RESOURCES = 2;
    }
}
